package com.fengmi.goods.service;

import com.fengmi.comm.ResultVO;
import com.fengmi.goods.MallGoods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fengmi.goods.vo.MallGoodsAndCatVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sujie
 * @since 2022-11-22
 */
public interface IMallGoodsService extends IService<MallGoods> {


    public List<MallGoodsAndCatVO> getAllGoodsAndCat(Integer topn);

    public List<MallGoods> getAllGoods();

   // 商品审核的功能
    public ResultVO goodsAudit(Long spuId);

    public MallGoods getGoodsAndSku(Long spuId); //查询商品及sku信息
}
